package log

import (
	"gitee.com/ameise84/e3log"
	"gitee.com/ameise84/e3net"
	"gitee.com/ameise84/e3time"
)

var _gLogger *e3log.Logger

func init() {
	_gLogger = e3log.DefaultLogger()
}

func GetLogger() *e3log.Logger {
	return _gLogger
}

func SetLogger(l *e3log.Logger) {
	_gLogger = l
	e3time.SetLogger(_gLogger)
	e3net.SetLogger(_gLogger)
}
